//
//  XWSettingItem.m
//  CGWSWW
//
//  Created by lanou3g on 16/8/13.
//  Copyright © 2016年 CXG. All rights reserved.
//

#import "XWSettingItem.h"


@implementation XWSettingItem
+(instancetype)itemWithIcon:(NSString*)icon title:(NSString*)title{
    XWSettingItem *item = [[self alloc]init];
    item.icon   = icon;
    item.title = title;
    return item;
}
+(instancetype)itemWithTitle:(NSString *)title{
    return [self itemWithIcon:nil title:title];
}

@end
